package com.sq.partner.manager.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.sq.partner.manager.mybatis.model.TreeDto;
import com.sq.partner.manager.util.Page;

/**
 * 订单查询 Dao
 * @author zhihuizhao
 *
 */
public interface IGatewayOrderDao extends BaseDao{

	/**
	 * 分页查询订单
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public Page<Map<String,Object>> queryOrderPageByCriteria(Page<Map<String,Object>> page) throws Exception;

	/**
	 * 分页查询保单
	 * @param page
	 * @return
	 * @throws Exception
	 */
	public Page<Map<String,Object>> queryPolicyPageByOrderNo(Page<Map<String, Object>> page) throws Exception;
	
	
	public List<TreeDto> querySubChannelTreeByParentChannelCode(String parentChannelCode) throws Exception;
}
